package pers.echo.tester.mapper;

import org.apache.ibatis.annotations.Select;
import pers.echo.tester.entity.Test;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.math.BigDecimal;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author jobob
 * @since 2020-09-18
 */
public interface TestMapper extends BaseMapper<Test> {

    @Select("SELECT (SEQ_TEST.CURRVAL+1) FROM DUAL")
    BigDecimal nextId();
}
